fail should also be reported
authorGert Wollny <gewo@debian.org>
Mon, 6 Aug 2018 13:00:35 +0000 (15:00 +0200)
committerGert Wollny <gewo@debian.org>
Mon, 6 Aug 2018 13:00:35 +0000 (15:00 +0200)
debian/.gitlab-ci.yml

index 22a021b581ba22a5180a4dd28645ec711f31a330..fd0f53dcd5fa65f18518e3ea6d53c7b0d877b889 100644 (file)
@@ -11,5 +11,5 @@ build:
     - git checkout master 
     - git pull 
     # silence build to not exceed build log size of gitlab-ci
-    - gbp buildpackage -uc -us 2>&1 >../build.log || tail -n 100 ../build.log
+    - gbp buildpackage -uc -us 2>&1 >../build.log && exit 0 || tail -n 100 ../build.log  && exit -1